package com.duanzu.duanzucommon.remote;

import com.duanzu.duanzucommon.entity.Chat;
import com.duanzu.duanzucommon.entity.Chatlist;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface otherRemote {
    //查询用户聊天对象
    @RequestMapping
    List<Chat> selectChatById(@RequestParam("id") int id);

    //查询单个对象聊天内容
    @RequestMapping
    List<Chatlist> selectChatById(@RequestParam("talkid") int talkid,@RequestParam("talktoid") int talktoid);

    //查看公告

}